<template>
  <div class="mall-layout">
    <CommonHeader />
    <FloatingSidebar />
    <div class="mall-content">
      <router-view></router-view>
    </div>
    <CommonFooter />
  </div>
</template>

<script setup>
import CommonHeader from '@/components/CommonHeader.vue'
import CommonFooter from '@/components/CommonFooter.vue'
import FloatingSidebar from '@/components/FloatingSidebar.vue'
</script>

<style scoped>
.mall-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mall-content {
  flex: 1;
  background-color: #f5f7fa;
}
</style> 